package com.company.nuwa.mybatis.generator.plugins;

import org.mybatis.generator.api.dom.java.FullyQualifiedJavaType;

/**
 * <p></p>
 *
 * @author Lionel Lee
 * @version 1.0: FullyQualifiedJavaTypeProxyFactory.java
 * @date 2021/5/4  11:35 星期二
 */

public class FullyQualifiedJavaTypeProxyFactory extends FullyQualifiedJavaType {

    private static final FullyQualifiedJavaType PAGE_INFO_INSTANCE      = new FullyQualifiedJavaType(
        "com.company.beauty.domain.model.PageInfo");
    private static final FullyQualifiedJavaType BASE_EXAMPLE_INSTANCE   = new FullyQualifiedJavaType(
        "com.company.beauty.domain.model.BaseExample");
    private static final FullyQualifiedJavaType BASE_MAPPER_INSTANCE = new FullyQualifiedJavaType(
        "com.company.beauty.domain.mapper.BaseMapper");
    private static final FullyQualifiedJavaType BASE_SERVICE_INSTANCE = new FullyQualifiedJavaType(
        "com.company.beauty.dao.BaseService");
    private static final FullyQualifiedJavaType BASE_SERVICE_IMPL_INSTANCE = new FullyQualifiedJavaType(
        "com.company.beauty.dao.BaseServiceImpl");

    public FullyQualifiedJavaTypeProxyFactory(String fullTypeSpecification) {
        super(fullTypeSpecification);
    }

    public static FullyQualifiedJavaType getPageInfoInstanceInstance() {

        return PAGE_INFO_INSTANCE;
    }

    public static FullyQualifiedJavaType getBaseExampleInstance() {

        return BASE_EXAMPLE_INSTANCE;
    }

    public static FullyQualifiedJavaType getBaseMapperInstance() {

        return BASE_MAPPER_INSTANCE;
    }

    public static FullyQualifiedJavaType getBaseServiceInstance() {

        return BASE_SERVICE_INSTANCE;
    }

    public static FullyQualifiedJavaType getBaseServiceImplInstance() {

        return BASE_SERVICE_IMPL_INSTANCE;
    }
}